package com.xuecheng.api.content;


import com.xuecheng.api.content.model.CourseBaseDTO;
import com.xuecheng.api.content.model.qo.QueryCourseModel;
import com.xuecheng.api.content.model.vo.CourseBaseVo;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * 课程查询基础信息接口
 * @author jin
 * @date 2021/3/28 14:21
 */
@Api(value = "课程基本信息Api接口",tags = "内容-课程基本业务信息Api接口",description = "课程基本业务信息Api接口")
public interface CourseBaseApi {
    /**
     * @param params 分页查询
     * @param model 课程查询模型
     * @author jin
     * @date 2021/3/28 14:33
     */
    @ApiOperation("分页条件查询课程基本信息")
    PageVO queryCourseList(PageRequestParams params, QueryCourseModel model);


    @ApiOperation("保存课程基本信息")
    CourseBaseDTO createCourseBase(CourseBaseVo baseVo);

    @ApiOperation("查询单个课程基本信息")
    CourseBaseDTO getByCourseId(Long courseBaseId);

    @ApiOperation("修改课程基本信息")
    CourseBaseDTO modifyCourseBase(CourseBaseVo courseBaseVo);
}
